<!-- 头部开始 -->
<div class="header">
    <div class="header_r" style="margin-top:-8px"><img src="<?=session('loginImg')?>" width="30"></div>
    <div class="header_m">会员中心</div>
</div>
<!-- 头部结束 -->

<!--会员中心开始-->
<div class="maijia">
    <div class="maijia-gldz"><a href="/order/myaddress/sek/<?=$sek?>">管理收货地址</a></div>
</div>
<div class="maijia-my-order"><a href="/order/slist/sek/<?=$sek?>"><span>查看全部订单></a></span><a href="/goods/myCollect/sek/<?=$sek?>">我的收藏</a></div>
<div class="maijia-li">
    <ul>
        <li><a href="/order/slist/sek/<?=$sek?>/status/0" class="maijia-li1">待付款</a></li>
        <li><a href="/order/slist/sek/<?=$sek?>/status/1" class="maijia-li2">待发货</a></li>
        <li><a href="/order/slist/sek/<?=$sek?>/status/2" class="maijia-li3">待收货</a></li>
        <li><a href="/order/slist/sek/<?=$sek?>/status/-1" class="maijia-li4">已取消</a></li>
    </ul>
</div>
    
<!--会员中心结束-->

<div class="fiex nav"> 
<?php if($sek){?>
<a class="icon-shouye" href="/index/index/sek/<?=$sek?>"><br />
  首页</a> <a class="icon-fenlei" href="/cate/main/sek/<?=$sek?>"><br />
  分类</a>
   <a class="icon-gouwu" href="/cart/index/sek/<?=$sek?>"><span id="cartSum"></span><br />
  购物车</a> <a class="icon-geren fiex_on" href="/index/user/sek/<?=$sek?>"><br />
  用户中心</a> </div>
<?php }else{?>
   <a class="icon-gouwu" style="width:50%" href="/cart/index"><br />
  购物车</a> <a style="width:50%" class="icon-geren fiex_on" href="/index/user"><br />
  用户中心</a> </div>
  <?php }?>

<script type="text/javascript">
    $(function(){
        cartSum();
    });
</script>
